$def with (form, added)
$var title = 'Add post'
$var add = 'top_a_select'
$var base = True
$var name = session.name

$var base = True

<div class="post">
<form target="" method="POST">
    $if added:
        <p class="addtext">
        $:added
        </p>
        
    Заголовок:
    <br/>
    <input type="text" name="title" style="width:100%"/>
    <br/>
    Текст:
    <br/>    
    <textarea name="text" style="width:100%;height:200px;"></textarea>
    <br/>
    <input type="submit" width="50px" value="Добавить"/>
</form>
</div>